package com.mezz.bones.framework.web.satoken;

import cn.dev33.satoken.jwt.StpLogicJwtForSimple;
import cn.dev33.satoken.stp.StpLogic;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: zhuang
 * @Date: 2024/7/18 18:41
 * @Description: TODO
 * @Version: 1.0
 **/

@Configuration
public class JwtConfig {

    /**
     * token 使用jwt风格
     * @return
     */
    @Bean
    public StpLogic getStpLogicJwt() {
        return new StpLogicJwtForSimple();
    }
}
